import Home from "../pages/Home/Home";
import Login from "../pages/Login/Login";
import List from "../pages/List/List";
import Error from "../pages/error/Error";

const routes = [
    {
        path:'/',
        element:<Login />
    },
    {
        path:"/home",
        element:<Home />
    },
    {
        path:'/list',
        element:<List />
    },
    {
        path:'*',
        element:<Error />
    }
]

export default routes